package com.entity;

import java.util.Date;

import org.apache.ibatis.type.Alias;
import org.joda.time.DateTime;
/**
 * 登录表
 * @author MiBAO
 *
 */
@Alias("BaseLogin")
public class Login  extends BaseEntity{
	private static final long serialVersionUID = 1L;
	
	//编号
	private String id;
	//登录账号
	private String loginAccount;
	//登录密码
	private String loginPwd;
	//密码加密方式
	private String pwdEncryption;
	//最后登录时间
	private Date lastLoginTime;
	//登录IP地址
	private	String loginIp;
	//头像url
	private String urlImg;
	public String getId() {
		return id;
	}
	public void setId(String id) {
		this.id = id;
	}
	public String getLoginAccount() {
		return loginAccount;
	}
	public void setLoginAccount(String loginAccount) {
		this.loginAccount = loginAccount;
	}
	public String getLoginPwd() {
		return loginPwd;
	}
	public void setLoginPwd(String loginPwd) {
		this.loginPwd = loginPwd;
	}
	public String getPwdEncryption() {
		return pwdEncryption;
	}
	public void setPwdEncryption(String pwdEncryption) {
		this.pwdEncryption = pwdEncryption;
	}
	public Date getLastLoginTime() {
		return lastLoginTime;
	}
	public void setLastLoginTime(Date lastLoginTime) {
		this.lastLoginTime = lastLoginTime;
	}
	public String getLoginIp() {
		return loginIp;
	}
	public String getUrlImg() {
		return urlImg;
	}
	public void setUrlImg(String urlImg) {
		this.urlImg = urlImg;
	}
	public void setLoginIp(String loginIp) {
		this.loginIp = loginIp;
	}
	public static long getSerialversionuid() {
		return serialVersionUID;
	}
	@Override
	public String toString() {
		return "login [id=" + id + ", loginAccount=" + loginAccount
				+ ", loginPwd=" + loginPwd + ", pwdEncryption=" + pwdEncryption
				+ ", lastLoginTime=" + lastLoginTime + ", loginIp=" + loginIp
				+ "]";
	}
}